{% if not kit.isvalid %}{% switch kit.getstatus %}
{% case "bad_cfg" %}
    <p class="broken">This kit config file (wak.ini) is missing or invalid</p>
{% endcase %}{% case "missing_file" %}
    <p class="broken">This kit list one or more missing files ot load</p>
{% endcase %}{% case "bad_php %}
    <p class="alert">Not compatible with current php version</p>
{% endcase %}{% case "missing_kit" %}
    <p class="alert">This kit require one or more missing kits</p>
{% endcase %}{% default %}
    <p>Error message was <cite>{{ kit.getstatus }}</cite></p>
{% enddefault %}
{% endswitch %}{% endif %}